import Vue from 'vue'

// 按需导入(需要太多，需进行抽离，专门封装在一个js文件中)
import {
  Tabs, Tab, Checkbox, Dialog, ActionSheet, Icon, Swipe,
  Search, SwipeItem, Grid, GridItem, Button,
  Switch, Rate, Slider, Tabbar, TabbarItem, NavBar, Toast
} from 'vant'

Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Dialog)
Vue.use(Checkbox)
Vue.use(Button)
Vue.use(Switch)
Vue.use(Rate)
Vue.use(Slider)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Toast)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Search)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Icon)
Vue.use(ActionSheet)
